/******************************************************************************************
 
Made by www.Flashphoner.com, all rights reserved.
These sources can only be used for working with Flashphoner server.
If you want use this to create your own application (separate from Flashphoner server)  
please contact support@flashphoner.com 

******************************************************************************************/

package com.flashphoner.api.interfaces
{
	public interface API
	{
		function addAPINotify(apiNotify:APINotify):void;
		function getAPINotify():APINotify;
		function getParameters():Object;
		function login(username:String,password:String):int;
		function call(callee:String, visibleName:String, isVideoCall:Boolean = false):int;
		function hangup():void;
		function setStatusHold(isHold:Boolean):void;
		function transfer(callee:String):void;
		function answer(isVideoCall:Boolean = false):void;
		function isSendVideo(flag:Boolean):void;
		function sendDTMF(dtmf:String):void;
		function getMicVolume():int;
		function setMicVolume(volume:int):void;
		function getMicropones():Array;
		function setMicrophone(name:String):void;
		function getCameras():Array;
		function setCamera(name:String):void;
		function getVolume():int;
		function setVolume(volume:int):void;
		function logoff():void;
	}
}